<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="icon" href="/favicon.ico"/>
    <title>02-列表数据(v-for命令)展示</title>
</head>
<body>
<div id="app">
    <h1>
        <ul>
            <li v-for="item in dataList">{{item}}</li>
        </ul>
    </h1>
</div>
<!--<script src="https://unpkg.com/vue@next"></script>-->
<script src="../js/vue.global.js" />
<script>Vue.config.productionTip = false</script>
<script>
    const app={
        data(){
            return{
                dataList:["java基础编程","C++基础编程","Java编程思想"],
            }
        }
    }
    Vue.createApp(app).mount('#app');
</script>
</body>
</html>